/* Normal styles for the modal */
#modal {
	font: 16px/24px Helvetica, sans-serif;
	left:50%;
	margin:-250px 0 0 -40%;
	opacity: 0;
	position:absolute;
	top:-50%;
	visibility: hidden;
	width:80%;
	box-shadow:0 3px 7px rgba(0,0,0,.25);
	box-sizing:border-box;
	transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
}

#modal .modal-header, #modal .footer{
	border-bottom: 1px solid #e7e7e7;
	border-radius: 5px 5px 0 0;
	text-align:center;
}

#modal .footer
{
	border:none;
	border-top: 1px solid #e7e7e7;
	border-radius: 0 0 5px 5px;
}

#modal h2
{
	margin:0;
}

#modal .btn_modal{
	float:center;
}

#modal .modal-msj, #modal .header-modal, #modal .footer {
	padding:15px;
}

.modal-content{
	background: #f7f7f7;
	position: relative;
	z-index: 20;
	border-radius:5px;
}

#modal .modal-msj {
	background: #fff;
}

#modal .overlay{
	background-color: #000;
	background: rgba(0,0,0,.5);
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}

/********* CLEARFIX *********/
.cf:before,
.cf:after {
    content:"";
    display:table;
}
.cf:after {
    clear:both;
}